package light.head.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 *  规格型号
 */
@Entity
@Table
public class Specification implements Serializable{

	private static final long serialVersionUID = 7742430438818147580L;
	
	private Integer code;						// 流水号
	private String specification;				//规格、型号
	private Integer price;						//价格
	private Integer cc;							//商品编号
	
	
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column
	public Integer getCode() {
		return code;
	}
	
	@Column
	public String getSpecification() {
		return specification;
	}
	
	@Column
	public Integer getPrice() {
		return price;
	}
	
	@Column
	public Integer getCc() {
		return cc;
	}
	


	
	
	
	
	
	public void setCode(Integer code) {
		this.code = code;
	}
	public void setSpecification(String specification) {
		this.specification = specification;
	}
	public void setPrice(Integer price) {
		this.price = price;
	}
	public void setCc(Integer cc) {
		this.cc = cc;
	}
	

}
